﻿/*
Theme Name: Zabor
Author: dmweb
*/

/* Add tags */
.tag.blue {
  background-color: #1a7ff2;
}

.tag.blue .tag__img {
  width: 1.5vw;
  margin-right: 0.5vw;
}

.tag.gray {
  background-color: #828282;
}

.tag.gray .tag__img {
  width: 1.5vw;
  margin-right: 0.5vw;
}

/* Hide  .offer__cta */

.offer__cta{
	display:none;
}

/* Плашка для заголовков */
.title_die-wh{
	display: inline-block;
	/*background: #ffffff;*/
	border-radius: 3px;
	
}

/* Fix  mobile menu link */

@media (max-width: 900px) {
	
	.nav a{
		display: inline-block !important;
	}
}

/* Don't hide link while hover q*/
.catalog-goods-works__item:hover .catalog-goods-works__btn {
  display: block !important;
}

/* Split Menu */
.nav__mobile{
	display: none;
	width: 100%;
	}

	
	/*color slider*/
.page1__item-img-caption{
	    font-size: 1.3rem;
    display: block;
    text-align: center;
    padding: 5px 0;
}

@media (max-width: 900px){
	.nav__desktop{display: none}
	.nav__mobile{display: block}
}

.page1__item-img {height:4.5vw}
.page1__item-img-wrap{height: 4.5vw}
.page1__item-img-wrap img{
	max-width: 90px;
	max-height: 60px;
}


/* mobile */

@media (max-width: 768px){
	.header .hsocial__block > .hsocial__item:nth-child(2){display:none}
	.header .hsocial__block > .hsocial__item:nth-child(3){display:none}
	.header .hsocial__block > .hsocial__item:nth-child(1) a {font-size:1.6rem}
	.header .hsocial__title{display: none}
	
	.offer-advas__title.text{ font-size: 1.7rem}
	.offer-advas__text{display: none}
	
	/*.catalog-advas{display: none !important}*/
	/*.catalog-cta{display: none !important}*/
	
	.experts-block-wrp > div:nth-child(1){display:none}
	.experts >  .container-md > div:nth-child(1){display:none}
	.experts >  .container-md > div:nth-child(2){display:none}
	
	/* .contacts{display: none} */
	
	.groups{display: none}
	
	.services-co{display: none !important}
	
	.guarantee{display: none}
	
	.soc{
		width: 4rem;
		height: 4rem;
		}
		
	.modal-zamer__img{display: none}
	/* #modal-zamer > .modal-zamer{height: 75%} */
	
	.modal-stop__img{display: none}
	/* .modal-stop{height: 60%} */
	
	/* #modal-consult >.modal-zamer__cont{height: 70%} */
	
	/* #modal-zabor > .modal-zamer{height: 70%} */
	
	/* hide privacy checkbox */
	.dont{display: none}
	
	.slick-prev:before, .slick-next:before{font-size: 40px;}
	.slick-prev, .slick-next{
		width: 60px;
    height: 60px;}
	
	.page1__item-img-caption{font-size: 1.1rem}
	
	.page1__item-img {height:7rem} 
	.page1__item-img-wrap{height: 7rem; padding: 0 3px}
	
}

/*  Change quiz tip position */
.test__right-text{top: -3%}
.test__right-title{top: 15%}
.test__right-dog{top: 10%}

.page1__item-plus > .small-text{
	font-size: 1.1rem;
}

.text-end-rh{top: 5vw;}

/* change caption position for fancybox gallery */
.fancybox-caption__body{
	position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
}

.catalog-404 .catalog-advas{display:none}

/* fix footer */

@media (max-width: 567px){
	.footer .header-soc, .footer .logo, .footer .hsocial__block {
    justify-content: flex-start;
	align-items: flex-start;
	}
	
	.footer__item-holder{
		display: flex;
		justify-content: space-between;
	}
	
	.footer__item-inner{width: 50%}
	.footer .hsocial__item-img{display: inline-block}
	
	/*.footer__item:nth-child(2){display: none}
	.footer__item:nth-child(3){display: none}
	.footer__item:nth-child(4){display: none}*/
	
	/* Отступ между полями в форме */
	.input-wrap {
    margin-right: 0;
    margin-bottom: 1.40rem;
  }
}


.portfolio-filter{
	margin-bottom: 50px;
}

.portfolio-filter__inner{
	margin-bottom: 10px;
}

.portfolio-filter__inner .text23{
	margin: 0;
	display: inline-block;
	border-bottom: 1px dashed #83c250;
	cursor: pointer;
	  -webkit-touch-callout: none;
	user-select: none;
}

.portfolio-filter__inner .spoiler{
	display: inline-block;
	width: 12px;
	height: 12px;
	border-right: 3px solid #83c250;
	border-top: 3px solid #83c250;
	border-radius: 3px;
	transform: rotate(45deg) translate(30%, 0%);
	transition: all 0.2s ease;
}

.spoiler_open{
	transform: rotate(135deg) translate(-45%, -30%) !important;
}



.filter {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 15px 0 25px;
}

.filter__item_color .filter__item-overlay {
  display: none;
}

.filter__item_color.filter__item_active {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.filter__item_color.filter__item_active .filter__item-overlay {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  line-height: 2.5;
  color: #ffffff;
  font-weight: bold;
}

.filter__item {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 42px;
  padding: 10px 20px;
  background: #f0f0f0;
  border-radius: 5px;
  font-size: 160%;
  line-height: 1.4;
  color: #5f5f5f;
  text-align: center;
  margin-right: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  background-size: cover !important;
  -webkit-touch-callout: none;
  user-select: none;
}

.filter__item_active {
  color: #ffffff;
  font-weight: bold;
  background: #83c250;
  box-shadow: 0 15px 40px rgba(131, 194, 80, 0.3);
}

.filter__item_color-onyx {
  background: url("assets/img/page-portfolio/color_onyx_smooth.jpg") no-repeat center center;
}

.filter__item_color-alba {
  background: url("assets/img/page-portfolio/color_alba.jpg") no-repeat center center;
}

.filter__item_color-morion {
  background: url("assets/img/page-portfolio/color_morion.jpg") no-repeat center center;
}

.filter__item_color-piryt {
  background: url("assets/img/page-portfolio/color_piryt_smooth.jpg") no-repeat center center;
}

.filter__item_color-gagat {
  background: url("assets/img/page-portfolio/color_gagat.jpg") no-repeat center center;
}

/* Black Friday Button */

.btn_black {
  background-image: linear-gradient(to top, #373737 0%, #5e5e5e 98%, #6e6e6e 100%) !important;
  box-shadow: 0 8px 13px rgb(149 149 149 / 80%), inset 0 -6px 1px #646464 !important;
}


/* card portfolio */
.project__text {
  height: 22vw;
  overflow-y: scroll;
}

.project-co__inf {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.offers-adres {
	width: 100%;
}

div.mobile-forms-js2.msm > div.project__text{
	height: auto;
	overflow-y: initial;
}

.main-card{
	padding-bottom: 2vw;
}

.header-banner img{
	width: 100%;
}

.header-banner .header-banner__mobile{
	display: none;
}

.btn-mobile{
	display: none;
}

@media (max-width: 567px){
	.header-banner .header-banner__mobile{
		display: block;
	}
	
	.header-banner__desktop{
	display: none;
}

	.right-menu{
		display: none;
	}
	
	/* .header-soc{ */
		/* display: none; */
	/* } */
	
	/* .btn-mobile{ */
		/* display: flex; */
		/* width: 12vw; */
		/* height: 12vw; */
		/* padding: 8px; */
		/* border-radius: 50%; */
		/* background: #4ec35a; */
	/* }	 */
	
		.btn-mobile{
		display: flex;
		width: 12vw;
		height: 12vw;
		padding: 8px;
		border-radius: 50%;
		background: #4ec35a;
		position: fixed;
		z-index: 189;
		right: 2rem;
		bottom: 1.5rem;
	}
	
	.news-single__preview{
	width: 100%;
	margin-bottom: 1vw;
	}
}



@media (max-width: 767px){
	.footer-bottom {
		display: none;
	}
	
	.seob{
		display: none;
	}
	
	.slick-arrow{
		display: none !important;
	}
	
}

.wp-block-gallery{
	clear: both;
}

.wp-block-gallery .blocks-gallery-grid{
	padding-left: 0;
}

/* Recent News */
.recent-news {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.recent-news__outer {
  background-image: url("assets/img/main/recent-news_bg.png");
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 567px) {
  .recent-news {
    width: 100%;
  }
}

.recent-news__item {
  display: block;
  text-decoration: none;
  width: 23%;
  margin-right: 2vw;
  margin-bottom: 5vw;
}

.recent-news__item:last-child {
  margin-right: 0;
}

@media (max-width: 768px) {
  .recent-news__item:last-child {
    margin-right: 2vw;
  }
}

@media (max-width: 768px) {
  .recent-news__item {
    width: 45%;
  }
}

@media (max-width: 567px) {
  .recent-news__item {
    width: 100%;
    max-width: 100%;
  }
}

.recent-news__inner {
  position: relative;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0px 7px 98px 0px rgba(25, 25, 25, 0.15);
}

.recent-news__prev img {
  width: 100%;
  border-radius: 10px;
}

.recent-news__text {
  height: 15vw;
  padding: 30px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .recent-news__text {
    height: 20vw;
  }
}

@media (max-width: 768px) {
  .recent-news__text {
    height: 30vw;
  }
}

@media (max-width: 567px) {
  .recent-news__text {
    height: 45vw;
  }
}

.recent-news__excerpt {
  font-size: 0.85vw;
}

.recent-news__excerpt:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3vw;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), #fff 100%);
}

@media (max-width: 768px) {
  .recent-news__excerpt {
    font-size: 1.5vw;
  }
}

@media (max-width: 567px) {
  .recent-news__excerpt {
    font-size: 2.5vw;
  }
}

.recent-news__date {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.recent-news__date-img {
  line-height: 0;
  margin-right: 10px;
}

.recent-news__date-text {
  font-size: 0.8vw;
  line-height: 0;
  padding-top: 2px;
  color: #999999;
}

@media (max-width: 1024px) {
  .recent-news__date-text {
    font-size: 1vw;
  }
}

@media (max-width: 768px) {
  .recent-news__date-text {
    font-size: 1.8vw;
  }
}

@media (max-width: 567px) {
  .recent-news__date-text {
    font-size: 2.8vw;
  }
}

.recent-news__substrate {
  width: 83%;
  margin: 0 auto;
  margin-top: -5px;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  height: 25px;
  background-color: white;
  box-shadow: 0px 7px 98px 0px rgba(25, 25, 25, 0.5);
}

.blocks-gallery-item__caption{
	height: 100%;
	padding: 0 !important;
}
.blocks-gallery-item__caption a{
	 border: 1px solid #ffffff;
    padding: 0.5vw;
    position: relative;
    top: 50%;
    border-radius: 3px;
	font-size: 0.97vw;
}

@media (max-width: 567px) {
  .blocks-gallery-item__caption a {
    padding: 1vw;
    top: 50%;
	font-size: 2vw;
  }
}

@media (max-width: 900px){
	.main-news__img {
    height: 22rem;
}
}










